package com.momo.service.sysSetting;

import com.momo.common.common.JSONResult;
import com.momo.common.req.sysSetting.user.SysUserReq;
import com.momo.common.req.sysmain.RedisUser;

/**
 * Created by Kagome on 2019/4/20.
 */
public interface SysUserService {

    /**
     * 用户分页
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult userPage(SysUserReq sysUserReq, RedisUser redisUser);

    /**
     * 用户状态变更
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult userStatus(SysUserReq sysUserReq, RedisUser redisUser);

    /**
     * 用户状态变更
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult detail(SysUserReq sysUserReq, RedisUser redisUser);

    /**
     * 用户新增
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult userAdd(SysUserReq sysUserReq, RedisUser redisUser);

    /**
     * 用户编辑
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult modify(SysUserReq sysUserReq, RedisUser redisUser);
    /**
     * 用户密码更改
     *
     * @param sysUserReq
     * @param redisUser
     * @return
     */
    public JSONResult changePwd(SysUserReq sysUserReq, RedisUser redisUser);
}
